package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 医生聊天详情对象 doctor_chat_details
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("医生聊天详情-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "doctor_chat_details")
public class DoctorChatDetailsEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 聊天详情类别
	 */
	@ApiModelProperty("聊天详情类别")
	private String cdsType;

	/**
	 * 聊天详情内容
	 */
	@ApiModelProperty("聊天详情内容")
	private String cdsBody;

	/**
	 * 发送人(用户表)
	 */
	@ApiModelProperty("发送人(用户表)")
	private Long cdsPerson;

	/**
	 * 接收人(用户表)
	 */
	@ApiModelProperty("接收人(用户表)")
	private Long receivePerson;

	/**
	 * 发送人云信标识
	 */
	@ApiModelProperty("发送人云信标识")
	private String cdsAccid;

	/**
	 * 接收人云信标识
	 */
	@ApiModelProperty("接收人云信标识")
	private String receiveAccid;

	/**
	 * 发送时间
	 */
	@ApiModelProperty("发送时间")
	private Long cdsTime;

	/**
	 * 聊天附件
	 */
	@ApiModelProperty("聊天附件")
	private String attach;

}
